<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/11/11
 * Time: 10:28
 */
namespace Admin\Model;
use Base\Model\BaseModel;
class PatientDosedetailModel extends BaseModel {
    protected $dbName = 'transplant_manager0';
    protected $_link=array(
        'medicineinfo' => array(
            'mapping_type' => self::BELONGS_TO  ,
            'class_name'    => 'medicineinfo',
            'foreign_key' => 'mid',
            'parent_key' => 'id'
        )
    );
}